package com.recharge.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.recharge.common.result.ResultDO;
import com.recharge.core.entity.MerchantPayAccountEntity;
import com.recharge.domain.query.MerchantPayAccountQueryDO;
import com.recharge.domain.vo.MerchantPayAccountDO;

/**
 * <p>
 * 商家资金账户表 服务类
 * </p>
 *
 * @author reagan
 * @since 2020-08-19
 */
public interface MerchantPayAccountService extends IService<MerchantPayAccountEntity> {
    /**
     * 添加商家支付信息
     * @param domain
     * @return ResultDO
     */
    public ResultDO add(MerchantPayAccountDO domain);

    /**
     * 修改商家支付信息
     * @param domain
     * @return ResultDO
     */
    public ResultDO edit(MerchantPayAccountDO domain);

    /**
     *　返回商家支付信息
     * @param id
     * @return ResultDO
     */
    public ResultDO get(String id);

    /**
     *　删除商家支付信息
     * @param id
     * @param modifier
     * @return ResultDO
     */
    public ResultDO remove(String id, String modifier);

    /**
     *　查询商家支付信息
     * @param query
     * @return ResultDO
     */
    public ResultDO find(MerchantPayAccountQueryDO query);
}
